package com.itheima.dao;

import com.itheima.domain.User;
import com.itheima.util.MyBatisUtils;
import org.apache.ibatis.session.SqlSession;

public interface UserDao {
    //根据用户名查询
    User findByUsername(String username);
    //根据手机号查询
    User findByTelephone(String telephone);
    //注册
    void  save(User param);


    void update(User param);

    User findByUid(int uid);


}
